package com.haiya.builder.basic.builder;

public class ConcreteBuilder2 extends Builder {
    @Override
    public void buildPartA() {
        product.setPartA("具体构建者2: 构建产品partA");
        System.out.println("具体构建者2: 构建产品partA ~~~~~");
    }

    @Override
    public void buildPartB() {
        product.setPartB("具体构建者2: 构建产品partB");
        System.out.println("具体构建者2: 构建产品partB ~~~~~");
    }

    @Override
    public void buildPartC() {
        product.setPartC("具体构建者2: 构建产品partC");
        System.out.println("具体构建者2: 构建产品partC ~~~~~");
    }
}
